package cn.yangliu.jpa.annotations.jpql;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The interface Jpa jpql.
 *
 * @author 问道于盲
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface JpaJpql {

    /**
     * Source jpql string.
     *
     * @return the string
     */
    String sourceJpql() default "";

    /**
     * result class class.
     *
     * @return the class
     */
    Class<?> resultClass();
}
